package cn.tedu.spring.file;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author: Miyako
 * @Date: 2024-08-03-10:35
 * @Description:
 */
public class TestDb {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu.spring.file");
        Database bean = context.getBean(Database.class);
        System.out.println(bean);
    }
}
